package com.sqx.modules.creation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024年09月06日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("n_creation_reply")
public class NCreationReply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "creation_reply_id", type = IdType.AUTO)
    private Integer creationReplyId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 作品id
     */
    private Integer creationId;
    /**
     * 评论id
     */
    @TableField("creation_comment_id")
    private Integer creationCommentId;

    /**
     * 回复内容
     */
    @TableField("reply_content")
    private String replyContent;

    /**
     * 点赞数
     */
    @TableField("good_num")
    private Integer goodNum;

    /**
     * 回复父id
     */
    @TableField("parent_id")
    private Integer parentId;

    @TableField("create_time")
    private Date createTime;


}
